<?php $this->load->view('vheader')?>
<div class="table-responsive">
<table id="sample-table-2" class="table table-striped table-bordered table-hover">
<thead>
   <tr>
      <th class="center">
		#
      </th>
      <th>No SP</th>
      <th>No Faktur</th>
      <th class="hidden-480">Status</th>
      <th></th>
   </tr>
</thead>
<tbody>
<?php
if(!empty($nontender)){

$nmr = 1;
foreach($nontender as $row){
?>
   <tr>
      <td class="center">
      <?php echo $nmr; ?>
      </td>
      <td class="center">
      <?php echo $row->soid;?>
      </td>
      <td class="center">
      <?php echo $row->nofaktur;?>
      </td>
      <td class="hidden-480" class="center">
      	 <?php
		 if($row->status == '1'){
			 $status = "Pending";
		 }
		 ?>
         <span class="label label-sm label-warning"><?php echo $status; ?></span>
      </td>
      <td class="center">
         <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
            <a class="blue" href="#">
            <i class="icon-zoom-in bigger-130"></i>
            </a>
         </div>
         <div class="visible-xs visible-sm hidden-md hidden-lg">
            <div class="inline position-relative">
               <button class="btn btn-minier btn-yellow dropdown-toggle" data-toggle="dropdown">
               <i class="icon-caret-down icon-only bigger-120"></i>
               </button>
               <ul class="dropdown-menu dropdown-only-icon dropdown-yellow pull-right dropdown-caret dropdown-close">
                  <li>
                     <a href="#" class="tooltip-info" data-rel="tooltip" title="View">
                     <span class="blue">
                     <i class="icon-zoom-in bigger-120"></i>
                     </span>
                     </a>
                  </li>
               </ul>
            </div>
         </div>
      </td>
   </tr>
<?Php 
$nmr++;
} 
} 
?>
</tbody>
</div>
<?php $this->load->view('vfooter')?>